home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / implode < prev    next >
Text File  |  2001-04-06  |  436b  |  17 lines

  1. SYNOPSIS
  2.         string implode(mixed *arr, string del)
  3.  
  4. DESCRIPTION
  5.         Concatenate all strings found in array arr, with the string
  6.         del between each element. Only strings are used from the array.
  7.  
  8. EXAMPLE
  9.         string str;
  10.         str = implode( ({"foo", "bar", ""}), "*");
  11.         
  12.         str will now look like "foo*bar*". This can be used as a
  13.         search&replace function of strings.
  14.  
  15. SEE ALSO
  16.         explode(E)
  17.